﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Model;

namespace BLL
{
  
   public class EmpolyBLL
    {
        EmpolyDAL empdal = new EmpolyDAL();

        public List<EmployInfo> GetEmpoly(string empName, int begin, int end, out int total)
        {
            return empdal.GetEmpoly(empName,  begin, end, out total);
        }

        public List<EmployInfo> BindList(string dept)
        {
            return empdal.BindList(dept);
        }
    }
}
